ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Programming (Section 12 - No. 1)

What is the role of the 'return' statement in a function?
To start the function.
To call another function.
To end the function and return a value.
To declare a variable inside the function.

Paliwanag

The 'return' statement provides a mechanism for a function to send back a value or signal its completion.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc